package com.example.bookKeep.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@TableName(value = "process_detail", autoResultMap = true)
public class ProcessDetail {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer processId;

    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品类型
     */
    private String productCategory;

    private String productColor;
    /**
     * 数量
     */
    private BigDecimal weight;


    /**
     * 经办人
     */
    private String director;

    /**
     * 记录方式 记账/未开票
     */
    private String recordType;

    /**
     * 日期
     */
    private Date createTime;

    private Date updateTime;

    @TableLogic
    private Integer deleted;


}